package org.libl.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 定义一个javaBean类
 * lombok技术:简化 javaBean代码的书写
 */

@Data //替代javaBean的getter/setter方法,toString()方法
@NoArgsConstructor//替代javaBean的无参数的构造方法
@AllArgsConstructor//替代javaBean的全称参数的构造方法
public class Car implements Serializable {
   Integer car_id;
   String car_name;
   String car_sn;
   String car_stutus;
   String car_jiage;

    public Integer getCar_id() {
        return car_id;
    }

    public void setCar_id(Integer car_id) {
        this.car_id = car_id;
    }

    public String getCar_name() {
        return car_name;
    }

    public void setCar_name(String car_name) {
        this.car_name = car_name;
    }

    public String getCar_sn() {
        return car_sn;
    }

    public void setCar_sn(String car_sn) {
        this.car_sn = car_sn;
    }

    public String getCar_stutus() {
        return car_stutus;
    }

    public void setCar_stutus(String car_stutus) {
        this.car_stutus = car_stutus;
    }

    public String getCar_jiage() {
        return car_jiage;
    }

    public void setCar_jiage(String car_jiage) {
        this.car_jiage = car_jiage;
    }
}
